<!DOCTYPE html>
<html ng-app="app" style="background-color: #2a2d36;">

<head>
    <meta charset="utf-8">
    <title>个人中心</title>
    <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="stylesheet" href="__STATIC__/index/css/mui.min.css">
    <link rel="stylesheet" href="__STATIC__/index/css/commen.css" />
    <link rel="stylesheet" href="__STATIC__/index/css/my/my.css" />
</head>

<body ng-controller="my_controller" style="background-color: #2a2d36;">
    <!-- <header class="mui-bar mui-bar-nav">
        <a class="mui-icon mui-icon-left-nav mui-pull-left" onclick="javascript :history.back(-1);" ></a>
        <h1 class="mui-title">个人中心</h1>
    </header> -->
    <nav class="mui-bar mui-bar-tab">
        <a class="mui-tab-item" href="{:url('index/index')}">
            <img class="show_img" src="__STATIC__/index/img/tab/home.png" alt="" />
        </a>
        <a class="mui-tab-item" href="{:url('recharge/index')}">
            <img class="show_img" src="__STATIC__/index/img/tab/recharge.png" alt="" />
        </a>
        <a class="mui-tab-item" href="{:url('gift/index')}">
            <img class="show_img" src="__STATIC__/index/img/tab/gift.png" alt="" />
        </a>
        <a class="mui-tab-item" href="{:url('user/index')}">
            <img class="show_img" src="__STATIC__/index/img/tab/my.gif" alt="" />
        </a>
    </nav>
    <div class="mui-content">
        <div id="pullrefresh">
            <div class="user_content">
                <div class="user_photo">
                    <div class="info_container">
                        <div class="photo_circle" ng-click="goPage('{:url('user/setting')}')" >
                            <img src="{$user.avatar}" alt="" class="user_photo_img"  style="width:65px;height:65px;border-radius:50%;" />
                            <div class="photo_bg"></div>
                            <span class="user_sign">
                                 {if condition="$user.title_top eq ''" } 暂无称号 {else /} {$user.title_top} {/if}
                            </span>
                        </div>
                        <p class="wh_text mui-text-center user_name" ng-click="goPage('{:url('user/change_info')}')" >
                             {$user.name}
                        </p>
                        <div class="user_exp mui-clearfix">
                            <div class="mui-pull-left wh_text">
                                LV{$user.grade}
                            </div>
                            <div class="progress_bg mui-pull-left">
                                <div class="progress_length"></div>
                                <p class="wh_text">
                                    <span>{$user.exp}</span>&nbsp;/&nbsp;经验值</p>
                            </div>
                            <div class="mui-pull-right or_text">
                                <img src="__STATIC__/index/img/my/rocket.png" alt="" />
                            </div>
                        </div>
                    </div>
                    <div class="tab_container">
                        <ul class="mui-clearfix">
                            <li ng-click="goPage('{:url('user/bean_blance')}')" >
                                <p class="or_text maxWidth">{$user.jifen}</p> 
                                <p class="wh_text">乐豆</p>
                            </li>
                            <li ng-click="goPage('{:url('gift/debris_balance')}')" >
                                <p class="or_text maxWidth">{$user.haschip}</p>
                                <p class="wh_text">
                                    <span class="has_badge">碎片数量</span>
                                </p>
                            </li>
                            <li ng-click="goPage('{:url('user/title')}')" >
                                <p class="or_text">
                                    <img src="__STATIC__/index/img/my/crow.png" alt="" />
                                </p>
                                <p class="wh_text">
                                  {if condition="$user.title_top eq ''" } 暂无称号 {else /} {$user.title_top} {/if}
                                </p>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="item_list">
                    <ul class="mui-table-view">
                        <li class="mui-table-view-cell" ng-click="goPage('{:url('user/prize')}')" >
                            <a class="mui-navigate-right">
                                我的奖品
                            </a>
                        </li>
                        <li class="mui-table-view-cell" ng-click="goPage('{:url('user/growth')}')" >
                            <a class="mui-navigate-right">
                                成长道具
                            </a>
                        </li>
                    </ul>
                </div>
                 <div class="item_list">
                    <ul class="mui-table-view">
                    	<li class="mui-table-view-cell" ng-click="goPage('{:url('user/news')}')" >
                            <a class="mui-navigate-right redDot">
                                消息中心
                            </a>
                        </li>
                    </ul>
                </div>
                <div class="item_list">
                    <ul class="mui-table-view">
                        <li class="mui-table-view-cell" ng-click="goPage('{:url('user/contact')}')" >
                            <a class="mui-navigate-right">
                                 意见反馈
                            </a>
                        </li>
                        <li class="mui-table-view-cell" ng-click="goPage('{:url('user/qrcode')}')" >
                            <a class="mui-navigate-right">
                                邀请好友
                            </a>
                        </li>
                    </ul>
                </div>
                <div class="item_list">
                    <ul class="mui-table-view">
                        <li class="mui-table-view-cell" ng-click="goPage('{:url('user/setting')}')">
                            <a class="mui-navigate-right">
                                设置
                            </a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </div>
    <div id="pop_type" class="mui-popover mui-popover-action mui-popover-bottom">
        <div class="pop_container">
            <div class="grid_container">
                <div class="mui-row">
                    <div class="mui-col-sm-3 mui-col-xs-3">
                        <a href="" class="share_btn">
                            <div class="logo_box">
                                <img src="__STATIC__/index/img/my/fx_wx.png" alt="" />
                            </div>
                            <p class="mui-text-center">微信好友</p>
                        </a>
                    </div>
                    <div class="mui-col-sm-3 mui-col-xs-3">
                        <a href="" class="share_btn">
                            <div class="logo_box">
                                <img src="__STATIC__/index/img/my/fx_pyq.png" alt="" />
                            </div>
                            <p class="mui-text-center">微信朋友圈</p>
                        </a>
                    </div>
                    <div class="mui-col-sm-3 mui-col-xs-3">
                        <a href="" class="share_btn">
                            <div class="logo_box">
                                <img src="__STATIC__/index/img/my/fx_qq.png" alt="" />
                            </div>
                            <p class="mui-text-center">QQ好友</p>
                        </a>
                    </div>
                    <div class="mui-col-sm-3 mui-col-xs-3">
                        <a href="" class="share_btn">
                            <div class="logo_box">
                                <img src="__STATIC__/index/img/my/fx_kj.png" alt="" />
                            </div>
                            <p class="mui-text-center">QQ空间</p>
                        </a>
                    </div>
                </div>
                <div class="mui-row">
                    <div class="mui-col-sm-3 mui-col-xs-3">
                        <a href="" class="share_btn">
                            <div class="logo_box">
                                <img src="__STATIC__/index/img/my/fx_lj.png" alt="" />
                            </div>
                            <p class="mui-text-center">复制链接</p>
                        </a>
                    </div>
                    <div class="mui-col-sm-3 mui-col-xs-3">
                        <a href="" class="share_btn">
                            <div class="logo_box">
                                <img src="__STATIC__/index/img/my/fx_msg.png" alt="" />
                            </div>
                            <p class="mui-text-center">短信</p>
                        </a>
                    </div>
                </div>
            </div>
            <p class="mui-text-center close_title" ng-click="close_pop()">取消</p>
        </div>
    </div>
    <script src="__STATIC__/index/js/mui.min.js"></script>
    <script src="__STATIC__/index/js/jquery.min.js"></script>
    <script src="__STATIC__/index/js/angular.min.js"></script>
    <script src="__STATIC__/index/js/my/my.js"></script>
    <script>
        mui('nav').on('tap', 'a', function () {
            document.location.href = this.href;
        });
    </script>
</body>

</html>